<?php if (empty($post)): ?>
<div class="alert alert-error">文章不存在，或者已被删除！</div>
<?php else: ?>
<div>正常：<?=$post['c1_count']?></div>
<div class="progress progress-success progress-striped active">
	<div class="bar" style="width: <?=$post['vote_count'] == 0 ? '0%' : sprintf("%.2f%%", $post['c1_count'] / $post['vote_count'] * 100)?>;"></div>
</div>
<div>不正常：<?=$post['c2_count']?></div>
<div class="progress progress-danger progress-striped active">
	<div class="bar" style="width: <?=$post['vote_count'] == 0 ? '0%' : sprintf("%.2f%%", $post['c2_count'] / $post['vote_count'] * 100)?>;"></div>
</div>
<?php endif; ?>